package blog.com.mw.service;

import java.util.List;

import blog.com.mw.base.ResultData;
import blog.com.mw.pojo.vo.LabelTypeVO;
import blog.com.mw.pojo.vo.LabelVO;

public interface LabelService {
	public ResultData getLabelById(int id);
	
	public ResultData getLabelByContent(String content);
	
	public ResultData getLabelByArticleId(int articleId);
	
	public ResultData addLabel(LabelVO vo);
	
	public ResultData delLabel(int id);
	
	//类别接口
	public ResultData getAllLabelType(int pageNum,int pageSize,String keyword);
	
	public ResultData getLabelTypeById(int id);
	
	public ResultData getLabelTypeByContent(String content);
	
	public ResultData addLabelType(LabelTypeVO vo);
	
	public ResultData updateLabelType(LabelTypeVO vo);
	
	public ResultData delLabelType(List<Integer> ids);
}
